package com.songsong.myblog2.service;

import com.songsong.myblog2.domain.Archives;

import java.util.List;

public interface ArchivesService {
    /*归档service*/
    /*判断该归档是否存在*/
    public boolean selectArchive(String archivesName);

    /*添加归档*/
    public void addArchives(String archiveName);

    /*修改归档数量*/
    public void updateArchiveNum(String archiveName);

    /*查询所有归档*/
    public List<Archives> getAllArchives();
}
